import os

import pytest

if __name__ == '__main__':
    pytest.main([r'C:\Users\张震海\Desktop\9_8\Case\mail.py','--clean-alluredir','--alluredir=./report'])
    os.system('allure generate ./report -o ./html --clean')